package Slots.Animation;

import java.util.Timer;
import java.util.TimerTask;

/**
 *
 * @author Ziad Aloulou
 */
public class AnimationBaton extends Thread {

    private Slots.Console console;
    public Timer timer = new Timer();

    @Override
    public void run() {
        timer.schedule(new Slow(), 10000);
    }

    class Slow extends TimerTask {

        public void run() {
            console.repaint();
        }
    }
}
